FUNCTION
max
Returns the greater of two integer values; i.e. a if a > b, or b otherwise.
Parameters
- a — the first integer to compare
- b — the second integer to compare
Returns
the greater of a and b
Since
0.6.0
function max(a: big_integer, b: big_integer): big_integerReturns the greater of two big_integer values; i.e. a if a > b, or b otherwise.
Parameters
- a — the first big_integer to compare
- b — the second big_integer to compare
Returns
the greater of a and b
Since
0.12.0
Returns the greater of two decimal values; i.e. a if a > b, or b otherwise.
Parameters
- a — the first decimal to compare
- b — the second decimal to compare
Returns
the greater of a and b
Since
0.9.1
© 2026 Chromia